automatically create entity instances from json responses