invalid json for registration