Fixed REST API formatting