Simple object mapping for Postgresql JSON