Get api_version from options, serialize method for model and relation