echoing json_encoded results array