@Nagornyak Curves and Fields to JSON