Json request now function call instead of property