cleaned up formatting of parameters

changed nil to None
removed endpoint format