Update getFromCache to return parsed data rather than the database results