serialize resources
comment weird Int tests for now