this is pretty subtle, but `parent_id` is a property of the `Location` object which causes the line below to fail on the jsonobject dict because it can't set the synced attribute