Fixing properties on JSONendpoint