removed custom field,created one level json object for angular js