Serialize all attributes when attributes invoked with no args

Implements functionality for serializing all attributes when the attributes class method is invoked with no arguments.