Update core/components/getresources/snippet.getresources.php

Added option "returnJSON". (Opt) Returns a JSON encoded array. This is useful in the event that you need to manipulate the returned data in a snippet. [default=]