Removing puts. Mapping keys to ddb types