Now marking build as failed if the return value cannot be serialized
Tests for builds returning non-serializable objects / raising non-serializable exceptions