FIXED: Retrieve JSON string from returned database results