catch JsonSerialization exception