PIM-837 : Replace response by JsonResponse when create an entity