removed object literals around json objects, rest returns simply arrays now