feat(core): allow registration of custom formats.

Signed-off-by: Johny Jose <johny@playlyfe.com>