Eloquent  Queries to JSON