Converted arrays to JSON

- Converted arrays to JSON