Updating base entity to properly json encode its data. Updating DQL abstract search service class to include more convenience methods for filtering by arrays of ids or membership clauses.
Base entity tostring now uses json encoding method.