fixing JsonEntityResource allowed methods