So just something that I don't understand, and this could be a problem with my general javascript and es6 knowledge.
export const foo = (x,y) => { expression }
returns null
while export const foo = (x,y) => expression
returns the object I was looking for