Master

Changed ajax_request for using FORMAT_TYPES from settings if exist and added ability to set serialize function as string