Smart mappings for Knockout JS