Adding security for json arrays on GET

Adding a cleaner syntax for defining services