add properties option wich will be included on serialize() method

properties will be stored on serialize properties key.

also include the readme and demo modified version