Made active bikes API function return correct data with jsonify