Do not serialize a variant's available_on if it is not present
require active_model/array_serializer

I was making calls in the console to create a product and it was complaining that the constant that this file provides wasn't available