Update cfadmin to use the correct serializer based on the
cPanel version, and use the universal one if it is available

Add tests for new functions