Curves are now serializing correctly