fix server side json data objects