Return JSON as array