PHP Json-mapper Resources