m2m model via api and a simple json serialized based on model_to_dict