Add support for creating asset object from a 'key => value' array.