simplifies ToJSON Meta instance
adding declarations and failing to compile