objc: generated classes respond to asJsonObject selector