Fixed incorrectly returning results as a JSON string instead of array