Corrected response: should JSON.parse values before returning.